﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Maknys.Consultator.DomainModel;
using Maknys.Consultator.DataContracts;

namespace Maknys.Consultator.DataContracts
{
        public interface IRepository<Element>
        {
            void Add(TreeNode<Element> root, Element element);

            List<string> GetList(TreeNode<Element> root, string sentence);
        }
}
